<?php
namespace App\Admin\Extensions\Form;


use Dcat\Admin\Form\Field\DateRange;

class DateRangeFormat extends DateRange{
    protected $format = 'YYYY-MM-DD';

    protected $view = 'admin::form.daterange';

    public function format($format)
    {
        $this->format = $format;
        $this->options(['format' => $this->format]);
        return $this;
    }


}